//
//  HWSegmentedBgTitleCell.swift
//  HWPromoteProjectAPP
//
//  Created by 王昌健 on 2022/1/27.
//  Copyright © 2022 王昌健. All rights reserved.
//

import UIKit
import JXSegmentedView
class HWSegmentedBgTitleCell: JXSegmentedTitleCell {
    open override func commonInit() {
        super.commonInit()

//        titleLabel.removeFromSuperview()
//        maskTitleLabel.removeFromSuperview()
//
//        gradientLayer.colors = [UIColor.red.cgColor, UIColor.yellow.cgColor, UIColor.green.cgColor]
//        contentView.layer.addSublayer(gradientLayer)
//        gradientLayer.mask = titleLabel.layer
        backgroundView?.backgroundColor = .red

    }
}
